package im.xz.cn.xiacore.commands.normal;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.jetbrains.annotations.NotNull;
public class helpPage implements CommandExecutor {
    @Override
    public boolean onCommand(@NotNull CommandSender commandSender, @NotNull Command command, @NotNull String s, @NotNull String[] strings) {
        commandSender.sendMessage(ChatColor.AQUA + "繁星梦服务器帮助页");
        commandSender.sendMessage(ChatColor.WHITE + "1./menu " + ChatColor.GRAY + "打开服务器主菜单");
        commandSender.sendMessage(ChatColor.WHITE + "2./tpp <目标玩家> " + ChatColor.GRAY + "请求传送至目标玩家");
        commandSender.sendMessage(ChatColor.WHITE + "3./rtp " + ChatColor.GRAY + "随机传送(只在normal世界可用)");
        commandSender.sendMessage(ChatColor.WHITE + "4./msg <目标玩家> <信息> " + ChatColor.GRAY + "私信目标玩家");
        commandSender.sendMessage(ChatColor.WHITE + "5./rambar " + ChatColor.GRAY + "开关服务器RAM监控板");
        commandSender.sendMessage(ChatColor.WHITE + "6./tpsbar " + ChatColor.GRAY + "开关服务器TPS监控板");
        commandSender.sendMessage(ChatColor.WHITE + "7./帮助 " + ChatColor.GRAY + "查看此文档");
        return false;
    }
}